<template>
  <div>
    <a-card size="small">
      <a-tabs v-model:activeKey="activeKey">
        <a-tab-pane key="1">
          <template #tab>
            <span> 总视图 </span>
          </template>
          <All />
        </a-tab-pane>
        <a-tab-pane key="2">
          <template #tab>
            <span> 员工视图 </span>
          </template>
          <Employee/>
        </a-tab-pane>
      </a-tabs>
    </a-card>
  </div>
</template>

<script setup lang="ts">
import All from "./all.vue";
import Employee from "./employee.vue";
const activeKey = ref("1");
</script>

<style></style>
